import React from 'react';

const KnowledgeBase = () => {
  return (
    <div className="knowledge-base-page">
      <h2>知识库</h2>
      
      <div className="knowledge-actions">
        <button className="btn-primary">添加知识</button>
        <button className="btn-outline">导入知识</button>
      </div>
      
      <div className="knowledge-filter">
        <div className="search-box">
          <input type="text" placeholder="搜索知识内容" />
        </div>
        <div className="category-filter">
          <select>
            <option value="">全部分类</option>
            <option value="industry">行业信息</option>
            <option value="product">产品信息</option>
            <option value="company">公司信息</option>
          </select>
        </div>
      </div>
      
      <div className="knowledge-list">
        <div className="empty-state">
          <p>暂无知识内容，请添加或导入</p>
        </div>
      </div>
    </div>
  );
};

export default KnowledgeBase; 